package com.csun.dsms.mapper;

import com.csun.dsms.model.domain.DsmsRoleMenu;
import com.csun.dsms.model.vo.menu.MenuVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DsmsRoleMenuMapper extends Mapper<DsmsRoleMenu> {

    /**
     * 根据用户id获取菜单列表
     *
     * @param userId    the user id
     *
     * @return  the menu vo
     */
    List<MenuVo> queryMenuListByUserId(Long userId);
}